import request from '@/utils/request'

export function getAllManagerInfoByPageAndConditions(data) {
  return request({
    url: '/superManager/getAllManagerInfoByPageAndConditions',
    method: 'get',
    params:data
  })
}

export function addManagerInfo(data) {
  return request({
    url: '/superManager/addManagerInfo',
    method: 'post',
    data
  })
}

export function updateManagerInfo(data) {
  return request({
    url: '/superManager/updateManagerInfo',
    method: 'put',
    data
  })
}

export function deleteManagerInfo(id) {
  return request({
    url: '/superManager/deleteManagerInfo',
    method: 'delete',
    params:id
  })
}

export function getPanelGroupData() {
  return request({
    url: '/getPanelGroupData',
    method: 'get',
  })
}

